﻿using Xilium.CefGlue;

namespace CefWinform.BS
{
    public class BsLifeSpanHandler : CefLifeSpanHandler
    {
        private BsClient bClient;
        public BsLifeSpanHandler(BsClient bc)
        {
            this.bClient = bc;
        }
        protected override void OnAfterCreated(CefBrowser browser)
        {
            base.OnAfterCreated(browser);
            this.bClient.Created(browser);
        }
    }
}